package com.car.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_insurance")
public class Insurance implements Serializable {
    //订单id
    @TableId("insuranceId")
    private int insuranceId;
    //车牌号
    @TableField("carIdCard")
    private String carIdCard;
    //保险公司
    @TableField("company")
    private String company;
    //出险电话
    @TableField("companyPhone")
    private String companyPhone;
    @TableField("code")
    private String code;
    @TableField("codeContent")
    private String codeContent;
    @TableField("money")
    private int money;
    @TableField("carInsuranceStart")
    private String carInsuranceStart;
    @TableField("carInsuranceEnd")
    private String carInsuranceEnd;
    @TableField(exist = false)
    private User user;
    @TableField("userId")
    private int userId;
    @TableField("remark")
    private String remark;
    @TableField("state")
    private int state;
}
